Skip to main content
Version: 1.0.0

Challenges

Overview

To integrate Nudge Challenges UI into Flutter, you need to make sure that the basic integration of the Nudge Core SDK is done, if you have not already done it, check here.

Challenges SDK is a private SDK and is not hosted on pub.dev. Contact the Nudge team to get the hosting URL of the Challenges SDK and the pubspec.yamldefinitions.

 challengesUi = ChallengesUi();

Once you have integrated the Nudge Code SDK, just add the above-defined variable into the list inplugins property of NudgeProvider

.. 
..
NudgeProvider(
app: nudge,
plugins: [
challengesUi,
]
..
..

That's it!

Our Nudge Core would now trigger Surveys defined on your Dashboard using the challengesUi plugin.